【⭐】CF 2121F

题目内容

题目链接

给定一列数 a1,a2,,an有正有负)与两个整数 s,t,试求有多少个连续子序列 al,al+1,,ar 满足子序列之和为 s 且最大值为 t

解法

AC 代码

提交记录